package com.smooth.common.site.common;

public class PageDb {

	private int total;// 总数据量
	private int pageSize;// 每页数量
	private int pageCount;// 分多少页
	private int currentPage;// 当前第几页

	private int offset;// 偏移量
	private int limit;

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	public int getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

	@Override
	public String toString() {
		return "Page{" + "total=" + total + ", pageSize=" + pageSize + ", pageCount=" + pageCount + ", currentPage="
				+ currentPage + ", offset=" + offset + ", limit=" + limit + '}';
	}
}
